package org.jeecg.attachment.dto.req;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UploadFileModel {

    @NotBlank(message = "文件md5值不能为空")
    private String md5;

    private Integer type;

    @NotNull(message = "文件不能为空")
    private MultipartFile file;

}
